home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 93 / CDMM_93_2.ISO / Project Nomads / nomads_demo_eng.exe / DUMMYVEHICLE.TCL < prev    next >
Encoding:
Text File  |  2001-12-15  |  603 b   |  34 lines

  1. #
  2. #   Zustands-▄berwachungs-Script
  3. #   State Watch Script
  4. #
  5. #   DUMMYVEHICLE
  6. #
  7. #   created:    15-Jun-2000 Bernd
  8. #   
  9. #   (C) COPYRIGHT 2000 RADONLABS GMBH
  10. #
  11.  
  12. proc dummyvehiclewatch_normal {} {
  13.  
  14.     if {[.iskilled] == "true"} {
  15.         .announcestate explode
  16.     } 
  17. }
  18.  
  19. proc dummyvehiclewatch_explode {} {
  20.  
  21.     # Nach Animation wegnehmen
  22.     if {[.isanimfinished] == "true"} {
  23.         .setremoveable true
  24.     }
  25. }
  26.  
  27. proc dummyvehiclewatch_cinematic {} {
  28.  
  29.     # Nach Animation wegnehmen
  30.     if {[.iscinematicfinished] == "true"} {
  31.         .announcestate explode
  32.     }
  33. }    
  34.